package uno.net;



import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;
import java.util.LinkedList;


public interface UnoPlayerRM extends Remote {

	// DEPRECATO
	//public void PingPong(int port) throws RemoteException;
	
	// DEPRECATO
	//public boolean GetPlayersTable(Hashtable<String, String> table) throws RemoteException;
	
	public boolean getPlayersList(LinkedList<UnoPlayerID> playersList) throws RemoteException;
	
	public void putDeck(ArrayList<String> urnList) throws RemoteException;
	
	public void putHandOfCards(ArrayList<String> urnList) throws RemoteException;
	
	public void areYouAlive() throws RemoteException;
	
	public void updateGameStatus(UnoPlay play) throws RemoteException;

	public void sendReadyToken() throws RemoteException;
	
	public boolean forcePropagation(int playID) throws RemoteException;
	
}